﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GalaSoft.MvvmLight;

namespace MODEL
{
    public class AlertMakeInfo : ViewModelBase, ICheck
    {
        private string m_Id;
        public string Id
        {
            get { return m_Id; }
            set { m_Id = value; base.RaisePropertyChanged(); }
        }

        private int? m_Month;
        public int? Month
        {
            get { return m_Month; }
            set { m_Month = value; base.RaisePropertyChanged(); }
        }

        private float? m_MaxVal;
        public float? MaxVal
        {
            get { return m_MaxVal; }
            set { this.m_MaxVal = value; base.RaisePropertyChanged(); }
        }

        private float? m_MinVal;
        public float? MinVal
        {
            get { return m_MinVal; }
            set { m_MinVal = value; base.RaisePropertyChanged(); }
        }

        private string m_Name;
        public string Name
        {
            get { return m_Name; }
            set { m_Name = value; base.RaisePropertyChanged(); }
        }

        private string m_AddMan;
        public string AddMan
        {
            get { return m_AddMan; }
            set { m_AddMan = value; base.RaisePropertyChanged(); }
        }

        private DateTime m_CreateTime;
        public DateTime CreateTime
        {
            get { return m_CreateTime; }
            set { m_CreateTime = value; base.RaisePropertyChanged(); }
        }

        private bool m_IsChecked = false;
        public bool IsChecked
        {
            get { return m_IsChecked; }
            set { m_IsChecked = value; base.RaisePropertyChanged(); }
        }

        public StationInfo StationInfo { get; set; } = new StationInfo();
        public ElementInfo ElementInfo { get; set; } = new ElementInfo();
    }
}
